<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet"type="text/css"href="../../css/addteacher.css">
    <link rel="stylesheet"type="text/css"href="../../css/bootstrap.css">
    <script src="../../js/jquery-2.1.0.min.js"></script>
    <script src="../../js/app.js"></script>
    <title>高校体育后台管理</title>
</head>
<body>
<div class="contain">
    <div class="title"style="background-color: #333744;margin-left: 0px;width: 188px;margin-top: -5px">
        <img src="../../image/运动世界.png" style="width: 30px;height: 35px;margin-left: 25px">
        <span class="side-title">运动世界</span>
    </div>
    <div class="title">
        <a id="add" href="#" style="color: black;margin-top: -20px;margin-left: -100px">大连东软信息学院</a>
    </div>
    <div class="title" style="margin-top: 5px">
        <span>dldrxxadmin，欢迎您</span>
    </div>
</div>
<div class="touming">
    <div class="show">
        <div class="show-search">
            <input type="text" class="search-text" style="width: 250px;height: 30px;margin-top: 10px;margin-left: 50px" placeholder="请输入学校名称" name="q">
            <button type="submit" class="search-ic"><img src="../../image/查找.png" style="width: 15px;height: 15px"></button>
        </div>
        <div style="clear: both"></div>
        <a href="" id="name2"style="margin-top: 20px;width: 300px">大连东软信息学院(点击收回)</a>
    </div>
</div>
<div class="logo-right">
    <div class="module">
        <a href="#">
            <img src="../../image/数据总览.png" style="width: 22px;height: 22px">
            <span style="color: black">数据总览</span>
        </a>
    </div>
    <div class="module">
        <a href="../semestermanage.html">
            <img src="../../image/学期管理.png" style="width: 22px;height: 22px">
            <span style="color: black">学期管理</span>
        </a>
    </div>
    <div class="module">
        <a href="../login/PEadmin.html" >
            <img src="../../image/退出.png" style="width: 22px;height: 22px">
            <span style="color: black">退出</span>
        </a>
    </div>
</div>
<div class="sidebar">
    <ul>
        <li  class="main">
            <a href="#"><img src="../../image/校园系统.png">校园系统</a>
            <ul>
                <!--<li> <a href="../ui/departManage.html">院系管理 </a> </li>-->
                <li> <a href="teachermanage.html">教师管理 </a> </li>
                <li> <a href="studentmanage.html">学生管理 </a> </li>
                <li> <a href="classmanage.html">班级管理 </a> </li>
                <!--<li> <a href="../ui/课堂点名.html">课堂点名 </a> </li>-->
                <!--<li> <a href="../ui/newAnno.html">公告管理 </a> </li>-->
            </ul>
        </li>
        <li  class="main">
            <a href="#"><img src="../../image/课外运动系统.png">课外运动系统</a>
            <ul>
                <li> <a href="../sportsystem/sportConfig.html">运动管理 </a> </li>
                <li> <a href="../semesterTarget.html">学期目标管理 </a> </li>
                <li> <a href="../scoreManage.html">运动成绩管理 </a> </li>
                <li> <a href="../sportsystem/runManage.html">跑步管理 </a> </li>
                <!--<li> <a href="../ui/cheatManage.html">作弊管理 </a> </li>-->
                <!--<li> <a href="../ui/scoreImport.html">导出管理 </a> </li>-->
            </ul>
        </li>
        <!--<li  class="main">-->
            <!--<a href="#"><img src="../image/体测系统.png">体测系统</a>-->
            <!--<ul>-->
                <!--<li> <a href="../ui/history.html">体侧管理 </a> </li>-->
                <!--<li> <a href="../ui/test_scoreManage.html">体侧成绩管理 </a> </li>-->
            <!--</ul>-->
        <!--</li>-->
        <!--<li  class="main">-->
            <!--<a href="#"><img src="../image/场馆系统.png">场馆系统</a>-->
            <!--<ul>-->
                <!--<li> <a href="../ui/venueManage.html">场馆管理 </a> </li>-->
                <!--<li> <a href="../ui/userManage.html">用户管理 </a> </li>-->
                <!--<li> <a href="../ui/orderManage.html">订单管理 </a> </li>-->
                <!--<li> <a href="../ui/outInVenueManage.html">出入场管理 </a> </li>-->
            <!--</ul>-->
        <!--</li>-->
        <!--<li  class="main">-->
            <!--<a href="#"><img src="../image/考勤系统.png">考勤系统</a>-->
            <!--<ul>-->
                <!--<li> <a href="../ui/setAttendance.html">考勤设置管理 </a> </li>-->
                <!--<li> <a href="../ui/attendanceManage.html">考勤记录管理 </a> </li>-->
            <!--</ul>-->
        <!--</li>-->
    </ul>
</div>
<div class="content">
    <div id="addteacher">
        <div class="breadcrumb"style="background-color: #f6f8f8">
            <img src="../../image/教师管理.png" class="logo-img" style="margin-left: 50px">
            <button type="button" class="btn btn-link"><a href="studentmanage.html" style="margin-left: -70px">教师管理</a></button>
            <span style="margin-left: -50px">/添加学生</span>
        </div>
        <div class="list">
            <div class="right-search" action="#">
                <span>学生信息</span>
                <a class="btn btn-default"style="height: 30px;width: 70px;color:white;background-color: #20a0ff" id="yessave" role="button">保存</a>
                <a class="btn btn-default" style="height: 30px;width: 70px;color:white;background-color: #20a0ff" href="studentmanage.html" role="button">返回</a>
            </div>
            <div class="list-input">
                <span style="color: red">*</span>
                <span>学生ID：</span>
                <input type="text"name="studentid" id="studentid" placehoder="学生ID"style="margin-left: 40px"><br>
            </div>
            <div class="list-input">
                <span style="color: red">*</span>
                <span>学生姓名：:</span>
                <input type="text"name="name" id="name" placehoder="密码"style="margin-left:23px"><br>
            </div>
            <div class="list-input">
                <span style="color: red">*</span>
                <span>性别:</span>
                <input type="text"name="sex" id="sex" placehoder="性别"style="margin-left:10px"><br>
            </div>
            <div class="list-input">
                <span style="color: red">*</span>
                <span>学生归属班级：</span>
                <input id="classnumber" type="text"name="classnumber"placehoder="学生归属班级"style="margin-left:15px"><br>
            </div>

        </div>
    </div>
</div>
<div class="footer">
    <span  style="margin-left: 120px;">客服电话：400 800 9198</span>
    <span  style="margin-left: 80px;">ZHE JIANG WAN HANG INFORMATION TECHNOLOGY CO. LTD</span>
</div>
<script>
    $("#yessave").click(function () {
        var studentid = $("#studentid").val();
        var name = $("#name").val();
        var sex = $("#sex").val();
        var classnumber = $("#classnumber").val();


        var jsonData = {};
        jsonData.studentid =studentid;
        jsonData. name =name;
        jsonData. sex =  sex;
        jsonData.classnumber = classnumber;


        $.ajax({
            url: "/Student/insertstudent",
            type: "post",
            dataType: "json",
            data: jsonData,
            success: function (data) {
                var code = data.resultCode;

                if (code == 0) {
                    alert("保存成功");
                    load();
                } else {
                    alert("请输入信息");
                }
            }
        })
    });
</script>

<script>
    $('#add').click(function () {
        $('.touming').show();

    })
    $('#show-icon').click(function () {
        $('.touming').hide();
    })
</script>
<script type="text/javascript">
    $(function(){
    })
    function openDialog(){
        document.getElementById('light').style.display='block';
        document.getElementById('fade').style.display='block'
    }
    function closeDialog(){
        document.getElementById('light').style.display='none';
        document.getElementById('fade').style.display='none'
    }
</script>
</body>
</html>